#ifndef __SCNS_MT9V034_H__
#define __SCNS_MT9V034_H__

#include "ScnsConfig.h"

#if defined(SCNS_MT9V034_ENABLE)&&SCNS_MT9V034_ENABLE==1

#include "ScnsBspMt9v034.h"

#include "ScnsYing.h"
#include "ScnsImage.h"

typedef enum
{
    SCNS_MT9V034_STATUS_OK=SCNS_YING_STATUS_OK,
    SCNS_MT9V034_STATUS_BSP_FAILED=SCNS_YING_STATUS_BSP_FAILED,
    SCNS_MT9V034_STATUS_FAILED=SCNS_YING_STATUS_FAILED,
    SCNS_MT9V034_STATUS_TIME_OUT=SCNS_YING_STATUS_TIME_OUT,
}ScnsMt9v034Status;

extern ScnsMt9v034Status scnsMt9V034Init(ScnsMt9v034Enum mt9V034Enum);
extern void scnsMt9V034VsyncInterrupt(ScnsMt9v034Enum mt9V034Enum);
extern void scnsMt9V034DmaFinishInterrupt(ScnsMt9v034Enum mt9V034Enum);
extern uint8 scnsMt9V034GetImage(ScnsMt9v034Enum mt9V034Enum,ScnsImage*image);
extern void scnsMt9v034SetFinish(ScnsMt9v034Enum mt9V034Enum);
#endif
#endif
